import * as React from "react";
import * as ReactDOM from "react-dom";

import "./ResultTips.less";
import Back from "../Components/Back/Back";


export interface ResultTipsProps {

}

export interface State {

}

export default class ResultTips extends React.Component<ResultTipsProps, State> {
    //默认属性
    static readonly defaultProps: ResultTipsProps = {};

    constructor(props: ResultTipsProps) {
        super(props);
        //默认状态
        this.state = {};
    }

    //组件挂载后回调
    componentDidMount() {
        if (document.title === '正在加载...') document.title = "结果提示";
    }

    render() {
        return <div className="ResultTips">
            <Back/>
            <img src="./resources/imgs/success.png" alt="Ok"/>
            <div className="tips-title">
                提交成功
            </div>
            <div className="tips-content">
                感谢您对我们的关注和支持，我们会认真处理您的申请
            </div>
        </div>
    }
}
